
package com.zhitan.ems.app.stat.wrapper;
import com.zhitan.ems.app.stat.entity.StatisticsCarbonEntity;
import com.zhitan.ems.app.stat.vo.StatisticsCarbonVO;
import com.zhitan.ems.common.extra.utils.BeanUtil;
import com.zhitan.ems.framework.core.mp.base.BaseEntityWrapper;
  /**
 * 累计碳排放量-日月年 包装类,返回视图层所需的字段
 * @author zhitan
 * 
 * @date 2025-09-20 09:59:54
 */
public class StatisticsCarbonWrapper extends BaseEntityWrapper<StatisticsCarbonEntity, StatisticsCarbonVO>  {
    public static StatisticsCarbonWrapper build() {
        return new StatisticsCarbonWrapper();
    }
	@Override
	public StatisticsCarbonVO entityVO(StatisticsCarbonEntity statisticsCarbon) {
		if(statisticsCarbon==null) {
			return null;
		}
		StatisticsCarbonVO statisticsCarbonVO = BeanUtil.copy(statisticsCarbon, StatisticsCarbonVO.class);
		return statisticsCarbonVO;
	}

}
